import mitt from 'mitt'
import { defineStore } from 'pinia'

export const useEventBus = defineStore('eventBus', () => {
    const bus = mitt()
    return { bus }
})
